<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>analysis.Graphs_loader.Graphs_loader</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >iasna</th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Package&nbsp;analysis ::
        <a href="analysis.Graphs_loader-module.html">Module&nbsp;Graphs_loader</a> ::
        Class&nbsp;Graphs_loader
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="analysis.Graphs_loader.Graphs_loader-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Graphs_loader</h1><p class="nomargin-top"><span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader">source&nbsp;code</a></span></p>
<p>This class defines digraph used by IASNA Analysis. It contains some 
  PyGraph Digraph. Each digraph instanced here, represents direct, indirect
  and participation relations.</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.Graphs_loader.Graphs_loader-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">filename</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">datos/ejemplo_1.xml</code><code class="variable-quote">'</code></span>)</span><br />
      Class Constructor.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.Graphs_loader.Graphs_loader-class.html#add_digraph" class="summary-sig-name">add_digraph</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>,
        <span class="summary-sig-arg">digraph</span>)</span><br />
      Add a digraph to the object.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.add_digraph">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.Graphs_loader.Graphs_loader-class.html#set_datetime" class="summary-sig-name">set_datetime</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">datetime_start</span>,
        <span class="summary-sig-arg">datetime_finish</span>)</span><br />
      Set the general datetime to the IASNA digraph.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.set_datetime">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.Graphs_loader.Graphs_loader-class.html#set_filename" class="summary-sig-name">set_filename</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">filename</span>)</span><br />
      Set the filename.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.set_filename">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">datetime.</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.Graphs_loader.Graphs_loader-class.html#get_datetime_finish" class="summary-sig-name">get_datetime_finish</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the finish date time.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.get_datetime_finish">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">datetime.</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.Graphs_loader.Graphs_loader-class.html#get_datetime_start" class="summary-sig-name">get_datetime_start</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the starting date time.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.get_datetime_start">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">dictionary.</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.Graphs_loader.Graphs_loader-class.html#get_digraphs" class="summary-sig-name">get_digraphs</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the digraphs into a dictionary where the key is the digraph 
      name and the value a digraph.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.get_digraphs">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">dictionary.</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.Graphs_loader.Graphs_loader-class.html#get_filename" class="summary-sig-name">get_filename</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the xml source filename.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.get_filename">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">dictionary.</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.Graphs_loader.Graphs_loader-class.html#get_event_types" class="summary-sig-name">get_event_types</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the event types of a activity into a dictionary where the key 
      is the event name and the value the event weight.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.get_event_types">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="delete_digraph"></a><span class="summary-sig-name">delete_digraph</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>)</span><br />
      Delete a digraph via the digraphs dictionary</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.delete_digraph">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">digraph.</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.Graphs_loader.Graphs_loader-class.html#datas_from_xml" class="summary-sig-name">datas_from_xml</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">graphs_xml</span>,
        <span class="summary-sig-arg">actor</span>,
        <span class="summary-sig-arg">edge</span>,
        <span class="summary-sig-arg">session</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">date_start</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">date_finish</span>=<span class="summary-sig-default">None</span>)</span><br />
      Load data from xml file to digraph.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.datas_from_xml">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.Graphs_loader.Graphs_loader-class.html#load_data_from_xml" class="summary-sig-name">load_data_from_xml</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">session</span>,
        <span class="summary-sig-arg">date_start</span>,
        <span class="summary-sig-arg">date_finish</span>)</span><br />
      Load data from xml file to some digraphs.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.load_data_from_xml">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="draw_pic"></a><span class="summary-sig-name">draw_pic</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Draw a picture for the main creted digraphs using Draw.py.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.draw_pic">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">filename</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">datos/ejemplo_1.xml</code><code class="variable-quote">'</code></span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Class Constructor.</p>
  <p>type filename: string.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>filename</code></strong> - Filename for xml source file.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="add_digraph"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">add_digraph</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">name</span>,
        <span class="sig-arg">digraph</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.add_digraph">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Add a digraph to the object.</p>
  <p>type name: string.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>name</code></strong> - name of the digraph.</li>
        <li><strong class="pname"><code>digraph</code></strong> (digraph) - PyGraph Digraph.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="set_datetime"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">set_datetime</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">datetime_start</span>,
        <span class="sig-arg">datetime_finish</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.set_datetime">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Set the general datetime to the IASNA digraph.</p>
  <p>type datetime_start: datetime.datetime</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>datetime_start</code></strong> - initing datetime</li>
        <li><strong class="pname"><code>datetime_finish</code></strong> (datetime.datetime) - finishing datetime</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="set_filename"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">set_filename</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">filename</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.set_filename">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Set the filename.</p>
  <p>type filename: strig</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>filename</code></strong> - name of the xml source file</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="get_datetime_finish"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_datetime_finish</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.get_datetime_finish">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Return the finish date time.</p>
  <dl class="fields">
    <dt>Returns: datetime.</dt>
        <dd>Finish datetime.</dd>
  </dl>
</td></tr></table>
</div>
<a name="get_datetime_start"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_datetime_start</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.get_datetime_start">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Return the starting date time.</p>
  <dl class="fields">
    <dt>Returns: datetime.</dt>
        <dd>Starting datetime.</dd>
  </dl>
</td></tr></table>
</div>
<a name="get_digraphs"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_digraphs</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.get_digraphs">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Return the digraphs into a dictionary where the key is the digraph 
  name and the value a digraph.</p>
  <dl class="fields">
    <dt>Returns: dictionary.</dt>
        <dd>dictionary of digraph.</dd>
  </dl>
</td></tr></table>
</div>
<a name="get_filename"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_filename</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.get_filename">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Return the xml source filename.</p>
  <dl class="fields">
    <dt>Returns: dictionary.</dt>
        <dd>dictionary of digraph.</dd>
  </dl>
</td></tr></table>
</div>
<a name="get_event_types"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_event_types</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.get_event_types">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Return the event types of a activity into a dictionary where the key 
  is the event name and the value the event weight.</p>
  <dl class="fields">
    <dt>Returns: dictionary.</dt>
        <dd>dictionary of event types.</dd>
  </dl>
</td></tr></table>
</div>
<a name="datas_from_xml"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">datas_from_xml</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">graphs_xml</span>,
        <span class="sig-arg">actor</span>,
        <span class="sig-arg">edge</span>,
        <span class="sig-arg">session</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">date_start</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">date_finish</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.datas_from_xml">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Load data from xml file to digraph.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>graphs_xml</code></strong> (xml.dom.) - It is generated using 'minidom.parse(filename)'.</li>
        <li><strong class="pname"><code>actor</code></strong> (string) - use 'user' for ignore all node types except 'user' node type. Use
          'all' for include into the loading all node types without 
          exception.</li>
        <li><strong class="pname"><code>edge</code></strong> (string) - use 'Comment' for ignore all edge types except 'Comment'. Use 
          'Answer' for ignore all edge types except 'Answer'. Use 
          'Coordination' for ignore all edge types except 'Coordination'. 
          Use 'Lateral' for ignore all edge types except 'Lateral'. Use 
          'all' for include into the loading all edge types without 
          exception.</li>
        <li><strong class="pname"><code>session</code></strong> (number) - it is read data from indicated session. Default is None.</li>
        <li><strong class="pname"><code>date_start</code></strong> (datetime) - Datetime from the activity to init data load. Default is None.</li>
        <li><strong class="pname"><code>date_finish</code></strong> (datetime) - Datetime from the activity to stop data load. Default is None.</li>
    </ul></dd>
    <dt>Returns: digraph.</dt>
        <dd>Pygraph Digraph.</dd>
  </dl>
</td></tr></table>
</div>
<a name="load_data_from_xml"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">load_data_from_xml</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">session</span>,
        <span class="sig-arg">date_start</span>,
        <span class="sig-arg">date_finish</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis.Graphs_loader-pysrc.html#Graphs_loader.load_data_from_xml">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Load data from xml file to some digraphs.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>session</code></strong> (number) - it is read data from indicated session. Use 'None' for not 
          filtering.</li>
        <li><strong class="pname"><code>date_start</code></strong> (datetime) - Datetime from the activity to init data load. Use 'None' for not 
          filtering.</li>
        <li><strong class="pname"><code>date_finish</code></strong> (datetime) - Datetime from the activity to stop data load. Use 'None' for not 
          filtering.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >iasna</th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Thu Mar 04 12:35:35 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
